<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap Template</title>

    <!-- Bootstrap -->
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="container">
    <h1>restful请求</h1>

    <form action="/user" method="get">

        <button type="submit" class="btn btn-primary">get方式提交</button>
    </form>
    <form action="/user" method="post">

        <button type="submit" class="btn btn-primary">post方式提交</button>
    </form>
    <form action="/user" method="post">
        <input type="hidden" name="_method" value="put">
        <button type="submit" class="btn btn-primary">put方式提交</button>
    </form>
    <form action="/user" method="post">
        <input type="hidden" name="_method" value="delete">
        <button type="submit" class="btn btn-primary">delete方式提交</button>
    </form>
    
    <a href="/car/23145/aa/shollin">请求参数获取</a>
    <ul>
        <li>@PathVariable("id") String id</li>
        <li>@RequestHeader HttpHeaders headers</li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
    
</div>


<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>
</body>
</html>